package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 期货字典对象 qihuo_dict
 *
 * @author ruoyi
 * @date 2024-04-03
 */
public class QihuoDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 一跳点大小 */
    @Excel(name = "一跳点大小")
    private BigDecimal tiao;

    /** 每跳毛利/元 */
    @Excel(name = "每跳毛利/元")
    private BigDecimal maoli;

    /** 别称代码 */
    @Excel(name = "别称代码")
    private String aliascode;

    /** 新浪代码 */
    @Excel(name = "新浪代码")
    private String code;

    /** 上海有色代码 */
    @Excel(name = "上海有色代码")
    private String codesmm;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String codebaidu;

    /** 交易所 */
    @Excel(name = "交易所")
    private String jys;

    /** 交易时间：1白天2：23点前3：1点前，4:凌晨3点前 */
    @Excel(name = "交易时间：1白天2：23点前3：1点前，4:凌晨3点前")
    private String type;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer isenable;
    private Date updatetime;

    @Override
    public void setUpdateBy(String updateBy) {
        super.setUpdateBy(updateBy);
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTiao(BigDecimal tiao)
    {
        this.tiao = tiao;
    }

    public BigDecimal getTiao()
    {
        return tiao;
    }
    public void setMaoli(BigDecimal maoli)
    {
        this.maoli = maoli;
    }

    public BigDecimal getMaoli()
    {
        return maoli;
    }
    public void setAliascode(String aliascode)
    {
        this.aliascode = aliascode;
    }

    public String getAliascode()
    {
        return aliascode;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setCodesmm(String codesmm)
    {
        this.codesmm = codesmm;
    }

    public String getCodesmm()
    {
        return codesmm;
    }
    public void setCodebaidu(String codebaidu)
    {
        this.codebaidu = codebaidu;
    }

    public String getCodebaidu()
    {
        return codebaidu;
    }
    public void setJys(String jys)
    {
        this.jys = jys;
    }

    public String getJys()
    {
        return jys;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setIsenable(Integer isenable)
    {
        this.isenable = isenable;
    }

    public Integer getIsenable()
    {
        return isenable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("tiao", getTiao())
            .append("maoli", getMaoli())
            .append("aliascode", getAliascode())
            .append("code", getCode())
            .append("codesmm", getCodesmm())
            .append("codebaidu", getCodebaidu())
            .append("jys", getJys())
            .append("type", getType())
            .append("isenable", getIsenable())
            .toString();
    }
}
